package uk.co.richardwkirk.parkrun.android.events.distance;

import java.util.Comparator;



public class EventsWithDistanceComparator implements Comparator<EventWithDistance> {

	@Override
	public int compare(EventWithDistance lhs, EventWithDistance rhs) {
		return Double.valueOf(lhs.getDistance()).compareTo(rhs.getDistance());
	}

}
